<template>
  <div id="app">
    <router-view />
    <page-loading v-if="pageLoading" />
  </div>
</template>

<script>
import PageLoading from '@/components/PageLoading'
import DevicePixelRatio from '@/utils/devicePixelRatio.js'
export default {
  name: 'app',
  components: {
    PageLoading
  },
  created () {
    new DevicePixelRatio().init()
  },
  computed: {
    pageLoading () {
      return this.$store.state.app.pageLoading
    }
  },
}
</script>


<style lang="scss">
// @import url("./assets/css/base.scss");
#app {
  height: 100%;
}
</style>
